import request from '@/utils/request'


//菜品列表
export function dishlist(){
    return request({
        url:'/v1/dish/list',
        method:'post',
    })
}


//添加菜品
export function dishadd(data){
    return request({
        url:'/v1/dish/add',
        method:'post',
        data
    })
}

//修改菜品
export function dishupdate(data){
    return request({
        url:'/v1/dish/update',
        method:'post',
        data
    })
}

//删除菜品
export function dishdel(data){
    return request({
        url:'/v1/dish/del',
        method:'post',
        data
    })
}